* add compare tool * improvements * diff improvements * license * diff logic and tests fixed * update license info * add isPolarized to component interface * handle comparison of non-polarized components