added first draft of xmap_converter.pl