Used Flask-RESTful for API

Closes #162
What about `JsonProperty`