Rework TableConvert-plugin to be a little more generic.
Purge unneeded code
Added testfiles
Remove not needed function and some further cleanup.