Add appstart & appstop && appdeploy. Add tests