integrate the youtube class into the rest of the code