Decoupling of Cube and GraphicsEngine