Create macros.h

macro definitions