Refactored some commands to str_cmd_flags.
Planed erase/add/edit of
states