Added preliminary support for Algolia. Done some refactoring to results proxy