Reorganize types
Add New Connection function + bugfixes
Move JSON unmasheling out of http client calls
Finish debuggin calls.go