Support query string in the URL

closes #21