refactors get modules to correct for async, removes unused node modules