Add targeted ID wireless programming

Specify the node ID of the target in the command line by newly added
command line argument
Some refactoring