Replaced function wrapping with a class based approach.
Fixes #10. Removed duplicate code, simplified handler.
Just movin' it around
Resolves #3. Partial work on #11.
Closes #11. Removed required params checking, docs.