Creating UnitOfWoork class Commit.