added CSVWriter in preperation for logging performance data, etc.
switched over to sqlite for storing performance info. Much better idea.
helper classes implemented