City and state officials had apparently agreed in principle to a state takeover under which the public benefit corporation that runs the city 's Off-Track Betting parlors would be shut down over the next 90 days and a new corporation , controlled by appointees of the governor , created to replace it .