Instance -> Add photocell back.
State2 -> Add beginnings of an Attributes class to replace all of this dictionary clumsiness
State2 -> Allow mapped commands to have a delay now.  This is probably the magic property that will allow great things to happen.  

The delay attribute should technically be redundant and removed at some point.