First drafts of new API
Implement where for SQL source, fixes on select