added dependency already installed check for install and changed mongo driver to moped