Added RESTful controller and routes