extended mapping_class for config to function & context
clearer selection of kwargs on the configuration call
Merge pull request #123 from twobraids/mapping-hook

extended mapping_class for config to function & context