Restructured python module