add server file for heroku deployment