changed from file to socket with queue in bridge, adding position to public_api