Add support for accepting config as data frame

 - Update documentation and variable name
Add more roxygen documentation to functions