Initial server functionality and heroku setup