add support for function-based configuration
Merge pull request #3 from wilmoore/support-function-config

add support for function-based configuration