Used Flask-RESTful for API

Closes #162
same here :)