added menubuilder class and menu class