Inital development on R package