added config.rb and input.rb