Modify relationship model & add tokeninput libs