Refactoring of MVC classes.  Simplified Parameter management.  Refactored Phasor handling for sampler.