created basic models and controllers