Started to make the controller respond to json and updated the readme