renamed Factory and fixed construction of MessageTypes
fixed Problem with Default Message Type
Changed from String constants to int
changed the ClassNames of the Message-classes
reformated the code.