finish index and almost finish userindex
new code.py and pachong.py
Merge pull request #7 from rw1993/master

finish index and almost finish userindex