first pass at all backend command processing
added ligh and scene count commands