prepared to move model out of server.js