Major changes towards partioning

- generates sub ese, def and struc
- generates indices for conversion of subsystem - but not used yet