Added routes to app.js. TODO: handle errors gracefully