Restructured as a python package