adding relational models and hydrators, not sure if this is right though.