adds controllers, adds tests to app.js which connect to mongoDB with mongoose