Routing changes

* moves routes to separate file
* uses Express 4 router for middleware (fuck yeah!)