PEP formatting fixes
removed buggy auth code, created a package, various small fixes
merged conflicts and renamed file