Create base model classes