Create Goal.hx (Haxe implementation)