Refactored Header class to make retrieving integer values from the DMG file much easier, and also reducing duplication.