little refactorin of the code for Convertor.java
stage 1 for #3