add tiny framework for curriculum queries