initial MetaDex packet interpreter code & map data structure; some more cleanup