Added requirements.txt, fixed some files to match PEP 8