Create global.h

interface to global funcs used to manipulate messages