Refactor to work with new servlet engine
Merge pull request #11 from wagnert/master

Refactor to work with new servlet engine