CMS-3509 Refactoring for better osgi migration. Moved all UI code to seperate project.