Delete function added

The columns on the index have also been redesigned.