clean up
before api changes
updated api for creating lesson