Added a shortcut function to generate galaxies and added level3