How to build a Go application for a smart home automation system?