initial rails web application code