Added virtual switches and a parent device so that each relay can be controlled from a regular SmartApp