Used Flask-RESTful for API

Closes #162
+1