Added offline use and logger. Bug: missing cs/gold values aren't logged
Finished implementing logging.