refactored internal process to parse attributes and
add new public method '.getConfig()' primarily intended for debugging purposes