Move CodeMirror specific files into its own file