Changed -I to -D
Added commandline handler for number iterations.
Added iterations check.
Removed some useless lines.
Added posibility to load number of iterations from config.
Added number of iterations to config.