add global class for global data manage