Scan modules folder for new style modules.
Fix module reference.
Assume lazy D1 connection