can now save data back to disk
need argument to determine running mode
implemented Date class
implemented base reduction class