made messageType a readwrite property, refactored init methods
Merge pull request #14 from eliburke/modified_messageType

made messageType a readwrite property, refactored init methods