Experiments for dependency injection in Haxe