changed the server to a threaded server