add configuration file for the server and mongoose module