Initial version of H2O.R using S4 classes