added arguements and argement parsing, started with measurements
fixed bug in qnx beam control, commented kingsalmon_calibrate and added TODOs