Updated add, delete and view commands. Have not implemented tests yet.