adding api restart/stop & db restore