added (validated) manual example/template code
Correction in the flow of target programs
Adding example/template code for target programs
Bugfix target programs