Refactor code to improve usability and file structures.
Merge branch 'master' of https://github.com/gaogang/xaudit.git