swtich textureHandler to a service