curriculum model and db access