Most of the communications between chromecast app and extension pages have been built.