Adding and roxygenising docs.