Clean out modules from main file