Rewrite __str__ function.
Add command line parser.