editor changing to use a class dictionary

store level in class instance dictionary rather than a 3d array