Refactoring code loader set module