add menu, initlize some data structure prototype