read mesh from json and entity class implemented