Play nicely in the command line. Added USAGE, --help and --version flags.