move head to separate include
initial commit
fixing up template parts