Removed REST controller base, which was causing problems in the formatting of the result data. I thus had to change the name of the 'case' function to 'case_change'
Added comment about usage