Add folder information to reference apps (fix bug 872221)

Adds information about directory structure to (some) reference apps.