first working version
new path for server, fixed messages, reoved outputs