MTag class created with relevant functionality added