updated functions. added config.rb starter file