Refactor module export technique