Refactoring Thrift Proxy classes and Optimizing imports