Models for main structure and integration with other gems