Changed setting up the Mongo connection parameters
Added Motor connection support