Refactor: PEP8, imports, code readability, DRY