The actual code have been written about a year and a half back.
I'll just leave it here.