created basic models and relationships