Init Global class.