DB and Quiz class changes to support editing

DB and Quiz class changes to support editing