auto: move example programs to separate files