fixed callback handling in tokenStore.get. cleaned up module export