update gitignore
trim thrift file
done a pass on the whole pr
fix complete file logic