first step of FT for layout + styling
refactor templates to use a base template