sweet-lib: introduced basic support of menus