editor: make Header a class