moved engine to subfolder
imported editor code