Added dependencies and reformatted package.json
switching back to db mode
added testing file routes.js