Toolkit class for R learning