Rewrite argument parsing.
Improve readme.