Added DataSourceDMR for Postgres and generic work.  Refined getting DataSource from command args.