local app stop/start

ref: #513