Adding database config for main.rb