Added code for persistence and undeploy_lab use case
Added code for undeploy_lab use case