minor code cleanup
surroud message group header files with defines
move include statement
Generate nice e2p access functions and use them everywhere.