iOS app classes in Ruby for data analysis