main function and config
automatic callibration
while cycle