Using config to set up url.
Creating HttpResource.