Title: Control of Smart Buildings