move header stuff to haxe.cls