associations: rebuild controller and views

to get clean code and  small internal data structures