Local Area Cloud: a distributed, fault tolerant, and self-configuring architecture for smart home automation