Added class GraphicsFactory