untested model-view-controller and decorator patterns for jplot package