optionally pass in a root to find modules in