Initial code checkin from trivia codebase