working draft
fixed some bugs
typo
added delete subcommand