Added Message Classes, and implemented HashMap Functionality