Refactored ExplainTree and created App