refactor project based on what i learned creating https://github.com/varju/node-express-mongoose-example