Architecture of Rails Demo