add param parser
Merge pull request #20 from shanzi/master

add param parser