move scrub function external
added class to reflect change in DB
work done so far.  Need to pin down pdf decode errors