Types and shapes of galaxies