Adding through to dependencies.
Updating logging to be more consistent.
Updating cloud api to send the whole state message rather than just a part of it when a change is detected.