Use router

Use the backbone router, which should greatly increase the stability and saneness of event/state-handling in the app.