Create function ParseAddress, that parse command line and write address.
Refactoring.