generate group model

add group associations