Basic functions, basic models and basic db