building trivia demo scaffold and working with db