Added RESTful http interface