improved bugs in BeanTransactions class and added rollback capabilities