Most of core structure of codeGen.py done. Multiple pass modes Expand, Validate, Parse implemented.
sources handler function implemented. Still rearranging class structure but its getting cleaner.