push logic to queryies to reduce number of queries
includes for NameQuery and removing some old code
include brand id in api response
avoid conflicts
include query term in results
name query optional constraints