Add import for mongodb connector, add optional config file