Gtfs refresh date fix and code cleanup