MOOC rails web application architecture example, https://class.coursera.org/webapplications-002