Improving Student Problem Solving in Narrative-Centered Learning Environments: a Modular Reinforcement Learning Framework