Restructuring into a Python package, PEP-8 styling.