Forget about the tempalte class I found yesterday... I doesnt seems to work properly because of its use of global variables in the class, I guess I'll have to make up my "own" ;-)