Add initial version of index.build.