Set API URL as a class property

If we ever need to change the URL for any reason, it has to be changed in multiple places. A property on the class provides a slightly better method of dealing with that.