Pluggable data sources for Metis. Fix #336.
Merge pull request #340 from Locu/metis-plugz

Pluggable data sources for Metis