Bw2 refactor load db

I still need to update the README on how to download test data, but current changes should be useful as is.