Add CSS and basic template logic