Updated service provisioning code. Need to refactore provisioning code.