cleaned up views and server.js