Finish some functions of controller, and can get json data through http
request. 
Nov. 24, 2014