Editor class added, and drawing window in main.cpp.