Added config option in application.rb for single_mode to control
single or multiple sites