Now outputing codegraph as a source code file. There are still many major bugs to fix though.