* refactor beacon function inside IR sensor
* towards sim support
* channel labels
* reverting to singletons
* hiding unused apis
* lazy allocation of button instances
* tracking button state
* hook up the state
* support for IR proximity
* fixing build issue
* missing break
* remove auto-start of sensor
* setting mode on onEvent
* flooring slider value
* bump up proximity
* fixing threshold blocks