Move editor out into an instantiated object