Convert server to handler.
Merge pull request #18 from benbjohnson/handler

Use handlers