Added profiles to Spring configuration.