updated models and created controllers