Add PUMA560 example; Improve source file generator