Created base of MagicBox class. Includes getInvertedDigitalIn method.
Reorganized class. Added section heading comments.
Reorganized class. Added section heading comments.