Move ExtendedTypeHeader to the upper level

Changed the location of ExtendedTypeHeader class based on a suggestion in #82