Added question_groups db table and some of the associated functionality