Moved routing to app.