Updated UoW doc and implementation according to the final architecture.