Add ability to provide a handler loader function

**NOTE: this depends on #4 -- don't merge this PR until #4 is accepted and merged**

Add ability to provide a handler loader function

Fixes #5

Depends on #4