moving some stuff, making a client and a server