Added Error Event to the Cleanup Module.
Updated Commit and Rollback to get the current session from session factory.