205 decoupling learning material crud

Fixes #205
This is the only place lm_number has an underscore (and in the php controller that catches it).