add solor.rb for knife solo and code cleanup