Move pep8 check into new file
Move chdir to coverage check and add main call