change to local environment and add Codemirror