use mnesia as config storage, try to dynamically generate config schema