add assignment model and associations