some stuff from EditorServer to Engine class
Merge pull request #8 from nem0/engine_class

some stuff from EditorServer to Engine class