Add diagrams controller file