Added index.erb layout to views and linked to index.rb.