refactoring: move out menus from VM classes