only add one global object, and make all other things as its attributes, instead of adding many global variables to polute the global namespace