Split word cloud code into its own file