Minor refactoring changes
Added support for route configuration. This enables UI to just call Application.showView('some/path')