Used quasi adapter pattern to decouple crossfilter from the app logic.