modularize the head

- pulled out identical head elements and put into include