add basic template bits and styles