haxe project, reorganization of chargen