code for new warehouse loader and retrievers transferred from data-handling SVN package