Merge pull request #1 from grootzhao/grootA

add main method
Merge remote-tracking branch 'grootA/master' into grootA