Comand line bits

Added some slightly better docs for the command line tools.