API calls in getFacilities made more efficient, simple field:value search added.
Small refactor
Merge.