first pass at all view state functionality integrated with GCC mock