basic stuff to server.js+adding defaults to models.js