add behaviors and views to agents