redo Compiler/Prims split again

the principle is:
Prims knows about prim._ classes, Compiler doesn't.