adding configurability and codemirror