Move main client loop in clientmain class