Interfaces provided? I'm writing a plugin product from scratch? Are you saying there is an easier way?
I have always turned on debug mode and then added the setting into the vboptions area and set them to be used with my plugin. Then when you export your plugin/product, all the settings get exported with it (instead of you having to write them manually like you are).