Templates are helpful and working

Basic implementations of themes and templates now functions. Visual and
logical tree still not fully implemented. What you see is any way true
even if it is not logical.