Flat file is very common for settings, but database is popular enough too. I
think both are good solutions. I have used both.
You did brain-stretching when writing the wrapper, and exercise is always
good. It is waste of time to even think anymore, if you wasted your time or
not.
So, now stop thinking that and continue to do something else. Remember to be
happy.