Added delete table action
Better memory management for big tables