add four diagram for model and controller