Added UnitOfWork and a Registry