Migrating vote command to !lights
Restructure some command code
Initial code for new device detection