cleared Haxe source
first commit
added some methods to main class