Fix PEP8 warnings
Add requirements file
Add verbose option. Convert debug to boolean option.