added wrapper, put everything in an object, added global/local store, added tests, refactor, updated package name