define mongoose in server.coffee