initial python re-org