still working out some imports kinks
moving past Rcpp modules into straight c++ code; take 1