add basic config.rb
tidy up even more