add SwitchMenu class

add SwitchMenu class