added model and local mongo config to server.js