Python: Code generation moved to sub module and xml format can now span multiple files.