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