Add basic handler interface
Merge pull request #9 from jcelliott/handlers

Add basic handler interface