extracted UnitOfWork from ESBRepository; moved to VS2012