Update main.rb (favorites)

Now storing favorites in config.yaml.