adding mongodb as a dependency