Move client.py to viewer.py
Fix bugs and improve ann and pso