dont output stderr
prepend beginheader
set proper headers
switch to using gevent and bottle
add requirements file for pip