Added BM api and removed it from the buildscript