Moved the code for the Twitch API to another file.