playing with rolling our own web server to have maximum control, risk that we get into troubles when running this on heroku later though...