Put all the hardcoded URLs and strings into methods, so that we can change them more easily in the future.