Added javadoc comments and formatted code.
Refactored the trivia service to have an interface.
Unit tests for TriviaService