add license
Merge branch 'master' into rule-repository-injection
add a few comments
extra chdir to avoid latex -output-directory
add TODOs