more refactoring, add simple mySql converter