Enhancing unit test for smart proxy
Adding factory for view classes
Modifying system to use view classes
PHPDoc fixes