updated fileparser to use thrift struct
Created thrift templet
Updated xadb so it almost works