remove program.rb; a minor refactoring