CDB-1788 Implemented many of the imports controller new endpoints, plus small changes to exceptions