Added writeRgbFrame method and moved back from `listeners` to `connections`