Improved private variable __instance

Basically __instance is hidden (not visible from outside of the library) and it is improved how it is handled