Main functionality of App moved to separate class. Cleaning of metadata in the Microscope class.