Add scanDirectory to be Sync, add reconfigure module method to Registry