Starting Galaxy one/multicore as a service.
Refactoring.
Change defined types to classes.Add new template.