Adding some basic code for interacting with the contest API.