refactoring code editor

Closes #71