Added UnitOfWork Pattern for the DataBase