First steps of FT for layout + styling
refactor templates to use a base template