Made functions deployservice, controlservice and statusservice