diagrams of models and controllers