moved registry instantiation to frontend controller
Changed handling of registry and running of app