Add util header for subsystem specific macros

This PR adds utility macros for the command subsystem.
Jesus