Move all routes into app.js
Add basic tests for the app itself