Generating Explanations using an Automated Planner and Modeling Reasoning Processes, Skills and Knowledge