WIP datasources: Add support for specifying multiple datasources

WIP

If multiple sources are specified, the first available source is used.