add GraphicDevice2D class