creating a single app for the codemirror