Make a thrift app flaskable, easier to use, debug and test