Add some styles to reflect the status.

Signed-off-by: Jayanga Dissanayake <jsdjayanga@yahoo.com>
Updated to use put method when sending commands.

Signed-off-by: Jayanga Dissanayake <jsdjayanga@yahoo.com>