Python code parser

Adds the python code parser/generator, which should be equivalent to the matlab one except for vector maps support.