added quit method, multiple server option