Create Message classes and change data parsing method