rm global.h and global.cpp