made the console app call the dev trivia API