new module layout for python bindings