Refactored module import/export tables to reduce amount of data pointlessly copied