Updated models
Added database connect module
Implemented config override