BB10 implementation

Opening this for visibility. It needs to be squashed and .so files re-generated from the latest commit.
sp: addional