Add RESTful controller class