Made runner.rb more readable, and added a reset option

Though it doesn't work. Will look into this in the next few days.