Refactored simple.rb to use messaging_helper et al.