Add better docmentation to the controllers and the API wrapper