start implementing codemirror