Spread functionality over classes to emulate MVC.