More const-correctness
Add missing null check on assembler assignment
Reorder assembler_support file (and fix name of logger getter)
General reodering of functions to be clearer