Add KS0066 converter and some refactoring