Python script for generating Teadaze classes from template files