Framework for Teaching Resources Aligned with Components