delete insecure mode
chart lib added
start to big changes
change to auto searching of devices