Fixed PEP8, added Copyright notices