updated rest_views for addon modules, new CodeMirror wrapper