Implemented Generator class for generating the Menu structure with
xtend.