add menu class

Signed-off-by: zhangb <zhangbozhb@gmail.com>