dbn scala