Refactor app.js
Cleaned up the app.js file and also modified the api/routes
Added housekeeper to cleanup app.js