Reorganized the routes as functions
- Using a settings object as the object that will hold all of the configuration for the application to completely elimiate the need for any global objects.
Upgraded body parser to remove deprecation messaages
Moved logging function into a custom middleware
Added package versions, added session params to stop depreated messages