Algebraic and combinatorial aspects of group-based models