Added basic frontend functionality for challenges.