general: requirements and PEP8

* Fixes PEP8.

* Adds requirements.txt.