Move Editor and renderer into a class