First working version (client & server) - still some bugs & improvements to do