first cut at splitting multi-dem access to a library
split multi-dem access to a library