reorganize the express configuration in config.js, mongo not working yet
db connection require