Added SmartDigitalInput and SmartAnalogPotentiometer objects for virtualization of digital and analog inputs.  Its pretty boss.
Fixed some bugs