graphics: splitted menu into separate core class