resourcesFactory for graphics