added config file and edited main.rb