started working on client side, got server and client talking via JSON