Everywhere you're reading or writing from an ini file use a hash table instead; then load and save them as needed.