Start specyfing the Graphics API and add Rectangle class.