adds thrift dependency
implements serialization wrappers
configures Travis CI