Added the bd library, and modified the whole project accordingly.
I've run all tests, they work!!!!!