Created Generator class and assigned each Message a unique value