Switched to haxe built-in templating system

From a selfmade solution