Added HomeController and main page

Also fixed Deprecated ServiceRegistryBuilder.