On galaxies and homology