Added map model. Wired edit mode into cmat