basic schema and some models