Add datasource views

Generic external datasource views

Fixes #985