Added delete command. Fixed list command.