styling homepage and made more efficient templating