integrate bitmask-core

follow-up of bitmask-core#5 (closed)

  • adapt code pathes to switch between APIv5 and APIv3 (ensure v3 backwards compatibility)
Edited by cyberta