Set up server in worker node app

server has some bugs with message responding