Basics of modern cosmology