Objectified Client and usernames

beautified client and server.py, now they are both less than ten lines,
while adding usernames as well.