Make servlet usable without the server

Fixes #7