Updated example module.
Added initial thrift configuration support.