Add structure for graphics library