Added connection checking.
Added initial JSON parsing and message sending support.
Just changed how some imports are managed
Fixed build so that libaries are compiled into final jar.