cleaned up the server.js file
added code to the app.js file and fixed some routing
things are now posting to the database
merged with the views branch