reorganized project structure.
fixes for haxe3/svn.