fixed module creator to correspond with the new directory structure