CMS-3509 Refactoring for better osgi migration. Moved index.html file first to see if everything works.