basic json reader code done. Hopefully connect with server soon tomorrow.
some errors in the server side fixed