Make the generator injectable via CDI
Extract out a constant file for the message constants