deletion mechanism for parts and locations. Fixed formatting of printed errors. Made all insertions, deletions and updates atomic.