put constructor at top.  Handle null pointer.  Pretty print json.  Correctly hash urls.  Clean urls.