added 3 main controllers
updated models and relations