implement BeatClock merging, add simple demo of it