added document index; removed mysql database build script