Minor changes, a little bit cleared code
If we pass parameters through console no menu is displayed and the program will just do the measurement by itself. I think at this point testing in lab would be great.