Factor the code; create abstract types LinearMixedModel and SimpleLinearMixedModel
rename