merge model and objects classes