Finish half of the APIs.
XP push
XP commit
Fix conflict
Fix conflict
Merge pull request #11 from hsfzxjy/master

6-6