Applied PEP8 guidelines to codebase