initial router implementation

this needs to change though, the route state should be handled by the
stores and not the components
move selected app into ConfigStore