Setup multiple db settings
Fixes db settings
Fix submit handling in Generator