Deletion and cascading

Adding the logic for deleting and the cascading colour deletion