Require specification of data array associated with ports upon module instantiation, create port mapper in module constructor, update data staging/retrieval methods to use created port data attrib and mapper rather than creating the latter during each iteration.