adding flask-restful

For #11. also this added some error handling on url arguments!