Split classes in LdmDiagram into separate files (refactoring)