clean out flask-restful it is not used and remove some debugging code