added a core mesh implementation, need to add io to it