added Delete to query generator, added time tracking to database object.