Added a separate Editor.cpp