Refactoring

- Introduced traits to shrink the average model complexity and size.
- Bugfixes for published status