Added client controller and menu controller. Change some bugs.