base server from docs
allow deploying on heroku