Tools to generate source files (WIP)