Created the classes HistoryObject, Message, ChallengeMessage, FriendRequestMessage and NoteMessage