Added a main function to test.
Merge branch 'master' of https://github.com/ChaoShen1984/FrameWork