Added support for mongodb and mongoose