refactored server.js into multiple files, created main page layout