Updated to use OpenFL and Haxe 3