create a bggroup model and relationships