Added conf file for metadata. Modified build script to build a metadata index.