updated tests
fix: proper json format
use util header for bitmask operations
remove dead code
specify logging facility
use bptr values as contig_id-s; use bit mask for colours