Added RESTful calls to get data and create new entities.