fixed command api; work on main menu parser;