Config loading refactor

Add in the functionality to load a custom config file.
Moved the Mongo and logger settings into default.json config
custom config file can be used by the follow start up variable ( --path=path/to/config.json )