set up lesson model