remove no longer needed code
refactor: shrink template string structures
another round of const qualifiers