BDAS first iteration for scala