added a requirements file for pip.
Moved HTTP request validation to the wsgi application.