loosen disconnection time

allow for a bit more time before reporting disconnection
JSONing

Started to bring the jason handling in, using CurlyMo's classses as a
starting point. Things will change significantly though!
Updated licence and readme (md format)