move setup of MaRuKu globals in separate methods