initial clientDev commint
Reorganized code structure, and added a spectator mode