Fixed permission required for programmatically turning Bluetooth on/off. Added some small enhancements: input validation and static variables for trigger server address and port.
JSON messages for TriggerServer are now created using Gson.