capture exports from each loaded file
implement require