Changed Models to ManyToMany with intermediate Model