Unfinished addition of groups array to Piece model

Not finished because I’m sick