Removed global variables, and fixed JSON formating with players hands
Still working on better namespaces