Concerning #598: a proof-of-concept c-runtime workflow

Moved a bunch of code from `auxMethods()`  in `code_generator.cpp` to `symbolic/runtime`.