Working on server client
Fixed network code

Everything seems to work fine now