added diagrams for models and controllers