setHandler method implemented to the Tex2pngService

This simple method allows you to use your class to generate the files. Your handler class needs to extend the Tex2pngHandler, then you can redefine the way the things happens inside Tex2png.