Add restful controller