populating the exports of a module based on its interface, if any; have not added private qualifiers yet (TODO)