added 'create' and 'has' method
totally revamped the library. Manually opening/closing/initializing is no longer necessary. Added auto memory management using weakmap.js