[minor] Expose the Spark interface
[minor] Add support for querystring retrieval