Pinned dependencies and fixed deprecation warnings

- replaced deprecate method express.bodyParser
- pinned version numbers of dependencies