Datasource changes

Added delete command, and delete functions in the datasource class.
Fixed list command.