adds server to respond to requests