Add scala and thrift source, and build config files