New design - deleted PinCount and moved code to Frame.
New object to validate pin count.  Used by Frame.
Changes made to sync with the new design.