added getters for messageframe
added method for serialization in interface, implemented it in messageframe class