added routes to app/routes.js and started database.js config