Rewrite GTFS-RT code (DO NOT USE IN PRODUCTION)