cleaned up code; but currently nonfunctional
uniqueness works - file open does not
working now
place updating into separate thread
do not refresh cache during reads