Added connection to mongo

Added connection to mongo