Debugging and pip requirements

I added requirements.txt for convenience of installing the dependencies in a virtual environment.