remove diverge() functions from entry points
namespace Param class + use different exception
added setVar method in View class, minor fixes
reindent View classes
namespace App class