Work on data model, global counters implementation (incomplete)