Move OpeningBook and RK where are actually used