moved header to external include

header moved to external include. Files not renamed to .php yet as
history will not be kept.