Used Flask-RESTful for API

Closes #162
I see.. so if needed you can use any sort of field later on..