Added mongoose and models to global variables