The PELA Architecture: Integrating Planning and Learning to Improve Execution