All of the functions and powers possessed by and the obligations and duties of the former racing and wagering board and its predecessors and the division of the lottery and its predecessors are hereby transferred to the commission. N.Y. Rac. Pari-Mut. Wag. and Breed. Law § 117