whole bunch of work tests, auto gen database files done and a log viewer