add custom wrapper
Merge pull request #15 from kmdavis/master

@kmdavis made a great contribution that allows for a custom wrapper to be defined