Graphic class. First version. Test.