Updated the command line utility and add some minimal documentation.