added new docstring. Also included support for a seperate parser function that returns a tuple containing configuration information