added thin layer to support connection with mongodb using node