add RESTful API using flask-restless