Added basic RESTful API