call DapGen in script, some refactoring of variable names, added default title if none
move all source files to src
move most output to debug, add new command line option