moving setup.rb into a module