Rename global.cpp to global.h