use sprintf for rgb hex
use options for client init, support bridge selection in case the api is down