refactor to use start/stop for sente server