Added a config file and ability to specify name/host/port for mongo connection