added a function to compile the curriculum and schema