relocate static methods in masterinfo to commonutils.