Move search implementation to backend-api.js