This is the sample_app in ruby tutorial