Sets up url resolver and url_cache index. Fixes #4. Fixes #5.