Initial work on generic deployment importer. CAT-41

There is code to test success paths for almost everything. Failure
untested.