rewrite of grammar (after github for windows killed all my changes)
first creation of classes