data extraction reworked to use bluetooth
fixed merge conflicts