Added functions to read Thrift IDL files and build a map indexed by the method name