Groupoid definition language and handlers for ANTLR4 usage and group control modeling excersize.