include: update CC API

Improved the API to match updated ChronoCube features.
Add ChronoCube core functionality

Create core.c that implements the basic API.
Add readback test

This test writes values to CC registers and memory and reads it back for
verification.