Extracted joke generator to seperate class