First working version of BITS API, though with quite a few limitations