delete run.rb and add comments to the code.