Change base_url in context constructor.

base_url changes to ais_url and add rest_url.