miniondb load fix, refractored service provisioning fix.