Code for the SmartHouze project.