Implemented BinarySensorModel for the website
I also added examples for the example page.