Refactor configuration into its own class and add layout option
Change content_tag to content_tag_for in views