refactoring groups: will have many-to-many assoc with mimes model.