Added more JavaDoc.
Added function to transmit only using WLAN/LAN.
Refactored to use Gson.