importance of legal foundation of curriculum