A knowledge-rich approach to curriculum design