Create diagram classes