Clean up old unused code; add :type to challenges.
Display the challenge that is clicked on; render it depending on the type.