added gameloop to client module; updated gameloop on server module