Added initial C2S packet and click handler. Refactor of json messages. Clean-up of imports and removed a few log statements. Removed old experimental code.