Added command-line argument for the target PID
Added missing licence text to source files.