Extract header into its own class