move start/end configuration logic to server
use net-ssh-simple for managing ssh connections