Added UnitOfWork mechanism
Added loads of extra logging
Just a little more logging
Added logging to TestApp