Allow specifying the context root

Fixes #20