First stab at creating an R package.