Basic connection & JSON parsing done.

I left some Data::Dumper debugging in for now.