moved classMap to separate file