Migrate beats library to bluebird