separate editor class from editor template logic