Creating a security system using SmartThings