started to refactor the app.js by adding the mongo db connection
refactorized the postgres db connection
added a new config file (not used yet)
refactorized the security code
added the logs config file
refactorized the entire server side part