add flask-restful support