Move model extensions to modules

- Move model extensions to modules
- JPA: Remove one-to-many bidirectional entity relationships