Add the Query Menu API constant, respond class and unit test.
Change menu request classes structure.