added deploy and retrieve plan as well as retrieve execution state methods