splits converter code in different modules
initial code for choosing proper shaping for legacy encodings