setup editor, link module model with view, integrate editor into module