singleton implemented

singleton and singleton test (html file, not nice but shows working)
Same remark as the previous one: right now, because objects inside _drawMethods are string keys, the `_drawMethods.length = 0` does nothing.
I didn't try but logically, with the html exemple, we would still have `_drawMethods.second = [...]` no?