changed layout of config 

changed layout of config to allow database credentials,