completed REST controller challenge

@ndelage @dukegreene @rmw code review please