Package structure adjustments and applying roxygen3 documentation