Fixed formatting.
Fix counter.
Introduce high-level API.
Updated demo for high-level API.