Added Components tab and some content

I created a components.yml file and updated index.html.erb to display those components.
I never really used ruby tools so I don't know how to make this database available in the index.html.erb template.

I'm getting an error when I try to view the site.

Could you look into the cause of the problem?