Plugin System introduced, xively and thinkspeak distribution added, logging now as a pluggin, cleanup code