Delete functionality implemented
Some minor modification required