added routing to the app
improved routing