More refactoring to modules, decoupling directory paths to env.scow attrs