The user interface and backend for the Nexus smart home