create mindmap controller