adds a searchInput option and getRelated
implements search_input and sets up resultObj