Port of poit to WSGI