Refactor: subcommand use class instead
doc update
base64 subcmd print result to the console