migrate http://svn.code.sf.net/p/freemind2wiki/code/trunk/ to scala