moved reading of ini file to libcore