Add external module bd.

Since #741 was rejected because it was not a submodule, I made it a submodule now.