RESTful api controller added.