Added TRACE log for ViewResopnse
Various minor refactorings