Added contamination database functionality