Update for new ViewEngine; cleaning up server.js