pep8 and Pyflake compliant

Also set up coverage