moved content and server set up to app.js