add CLI.
Merge pull request #15 from hansode/cli

add CLI.