creation of server

server contains the reading in of the string