PEP8'd
Added ViewStateManager and tests.