set up a thrift file and make sure building works

Permissions are screwed up so I pushed in this way.