Added components and updated index.html.erb