editor.py with main view and room view