Merging of the code that actually gets a position out of the beacons

should close issue #12