introduced a UnitOfWork class to represent both a story or a defect