make classes abstract
make template extensible
templateStylesheets were rendered in the wrong place: fixed