[DF-516] Refactored class MessageBase and his inheritors. Fixed memory leak in assignment operator.