Thank you JoJo !
That's exactly what I was writing

The goal is to put it in a public lib host on github.com (with GPLv3 licence).
I'll perhaps use some snippet of your code, can I ?
If yes I'll mention your name in my "almost the same" class and in the credits.