Added setFunc - give a function to retrieve a value instead of the value
Merge pull request #9 from christav/setFunc

Added setFunc - give a function to retrieve a value instead of the value