- added passing the device through the wifi controllers
-updated data model to support the latest in firebase