Fixes file paths, adds .gitignore, andfixes bugs in server.js