split index.py to walle.py and index.py two parts

walle.py read file info and save it into repo;
index.py scan repo and make xapian index.