Forgot to turn pep8 checking on

all files reformatted and some duplicate imports removed