separate views from app.rb (see #8)