Support config files reading

ini files have to be UTF-16, other wise they won't work properly. I'll
add checking code later