Added requirements.txt, readme, and fixed a few lint complaints

I ran pylint on the code, and I fixed a few of the issues.