Updating docs and tests. Making transactions automatically rollback when object goes out of scope/