Auto commit will be handled by a finalizer if no action has taken in the transaction closure.
Adding ID allocation from a namespace.
Adding docs for exports.
Fixing undefined var issue.