add window and abstract class Renderer
add Eventer for mainWindow