separated debug from main functions
added main  prg file
updated test.prg include route