use mnesia as config store